//
//  EVCPopInputView.h
//  EverVCiOSClient
//
//  Created by 张可可 on 15/11/12.
//  Copyright (c) 2015年 EverVC. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^CallBackWithSelectedIndex)(NSInteger index, NSString *content);

@interface EVCPopInputView : UIView


@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UIView *contentView;
@property (weak, nonatomic) IBOutlet UIView *inputContentView;
@property (weak, nonatomic) IBOutlet UITextView *inputTextView;
@property (weak, nonatomic) IBOutlet UILabel *placeholdLabel;

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *subTitleLabel;

@property (weak, nonatomic) IBOutlet UIButton *cancelBtn;
@property (weak, nonatomic) IBOutlet UIButton *sendBtn;

///  限制汉字数量
@property (nonatomic, assign) NSInteger limitTextNum;
@property (nonatomic, assign) BOOL isNeedLimitTextContent;



///  未填写内容是否可发送
@property (nonatomic) BOOL nulTextCanSend;

///  index = 0  ::  取消
///  index = 1  ::  发送
- (void)clickButtonAction:(CallBackWithSelectedIndex)btnActionBlock;


+ (EVCPopInputView *)popInputViewWithTitle:(NSString *)title
                                  subTitle:(NSString *)subTitle
                                 placehold:(NSString *)placehold
                                    preset:(NSString *)preset;

- (void)show;
- (void)hide;


@end
